
#ifndef _MSHREADER_H_
#define _MSHREADER_H_

#include "ExchangeApi.hpp"
#include "../OLCore/AbstractFileReader.hpp"
#include "../OLApp/defines.hpp"
#include <vtkUnstructuredGrid.h>

namespace NSDatax {
	class PartDataItem;
}

namespace NSExchange {


	class EXCHANGEAPI MshReaderTask :
		public NSCore::AbstractFileReader
	{
		Q_OBJECT
	public:
		MshReaderTask(int id, QString filename) : NSCore::AbstractFileReader(id, filename) { };
		~MshReaderTask() override {};
		void run() override;
		/*override*/
	public:
		inline QString className() override { return "MshReaderTask"; };
		
	signals:
		void actionReadFinished(NSDatax::PartDataItem* /*item*/);
		void actionProgressChanged(int /*progress*/);		

	};

}

#endif
